#include "vref.h"

int test_by_ref_int(int &v = vref<int>(5555))
{
  return v;
}


bool test_value_by_reference()
{
  bool result = true;
  int  test_value = 111;
/* default value is not changed */
  result = (test_by_ref_int() == 5555);

/* default value is changed */
  result = (test_by_ref_int(test_value) == 111);

  return result;
}


